<template>
  <div class="box1">
    <h1>这是header{{this.$store.state.count}}</h1>
  </div>
</template>

<script>
export default {
    name:"Header"
}
</script>

<style>
.box1{
    width: 100%;
    height: 150px;
    background-color: aquamarine;
    text-align: center;
}
</style>